<?php
namespace app\api\validate;
use think\Validate;

class User extends Validate{
    protected $rule =  
    [
               'telphone'=>'require',
               'password'=>'require',
     ];
    protected $message  =   
    [
            'telphone.require'=>'电话号码不能为空',
            'password.require'=>'密码必须填写'
    ];
    
    
}